]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix width of application text items
authorOwen Taylor <otaylor@src.gnome.org>
Mon, 1 Dec 2008 21:53:49 +0000 (21:53 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 1 Dec 2008 21:53:49 +0000 (21:53 +0000)
appdisplay.js: Fix missing parentheses for computation of
  the available width for the application name and description.

svn path=/trunk/; revision=101

js/ui/appdisplay.js

index 835609c7d156c8e70eed8cd429645b66db5d4188..27032e28088891c7eaec420fbab062d7274eefee 100644 (file)
@@ -87,7 +87,7 @@ AppDisplayItem.prototype = {
         this._group.add_actor(this._icon);
 
         let comment = appinfo.get_description();
-        let text_width = width - me._icon.width + 4;
+        let text_width = width - (me._icon.width + 4);
         this._name = new Clutter.Label({ color: APPDISPLAY_NAME_COLOR,
                                      font_name: "Sans 14px",
                                      width: text_width,